<?php
/*=============================================================================
|| ##################################################################
||	phpFoX Konsort
|| ##################################################################
||	
||	Copyright		: (C) 2005-2007 PHPFOX Limited a Reality Fox Creation
||	Contact			: info@phpfox.com
||
||	- phpFoX and all of its source code and files are protected by Copyright Laws. 
||
||	- The license for phpFoX permits you to install this software on a single domain (.com, .org, .net, etc.). 
||
||	- You may also not remove this copyright screen which shows the copyright information and credits for phpFoX (RealityFOX Creations). 
||
||	- phpFoX Konsort is NOT a FREE software - http://www.phpfox.com/license/
||
|| ##################################################################
=============================================================================*/

/* $File: ./site/public/poll/_pre.php, $Author:  $ */


//create tabs menu
$aMenuItems = array(
	'public.poll'                     => App::format('menu.poll.main'),
    'public.account.submit.add-poll'  => App::format('menu.poll.submit.add-poll'),
    'public.account.myitems.poll'     => App::format('menu.poll.myitems.poll'),
);

$aParams = array(
	'sTemplate' => 'TabbedMenu',
    'aMenuItems' => $aMenuItems,
);

$oPollMenu = App::getModuleComponent('Menu', 'Menu', $aParams);
$srcTabbedMenu = $oPollMenu->process();


$oTpl = &App::getTemplate();
$oTpl->assignSrc(array(
	'srcTabbedMenu' => $srcTabbedMenu,
));

?>